
  import Vue from 'vue'
  import Scene from './Scene'
  import PageTemplate from './PageTemplate'
  import Components from './Components'
  import ComponentInfo from './ComponentInfo'
  import Attribute from './Attribute'
  import ComponentTree from './ComponentTree'
  import CombinedComponents from './CombinedComponents'
  import ScriptEditor from './ScriptEditor'
  import Animate from './Animate'
  import PageInfo from './PageInfo'
  import StyleEditor from '../style/index'
  import CodePanel from './CodePanel'

  function install () {
    Vue.component('widgetScene', Scene)
    Vue.component('widgetPageTemplate', PageTemplate)
    Vue.component('widgetAttribute', Attribute)
    Vue.component('widgetComponent', Components)
    Vue.component('widgetComponentTree', ComponentTree)
    Vue.component('widgetStyleEditor', StyleEditor)
    Vue.component('widgetScriptEditor', ScriptEditor)
    Vue.component('widgetAnimate', Animate)
    Vue.component('widgetPageInfo', PageInfo)
    Vue.component('widgetComponentInfo', ComponentInfo)
    Vue.component('widgetCombinedComponents', CombinedComponents)
    Vue.component('widgetCodePanel', CodePanel)
  }

  export default {
    install
  }
